#ifndef HELPWIDGET_H
#define HELPWIDGET_H

#include <QWidget>
#include <QMouseEvent>
#include <QPainter>

namespace Ui {
class HelpWidget;
}

class HelpWidget : public QWidget
{
    Q_OBJECT

public:
    explicit HelpWidget(QWidget *parent = nullptr);
    ~HelpWidget();
    void mousePressEvent(QMouseEvent*event) override;
    void mouseMoveEvent(QMouseEvent*event)  override;
    void mouseReleaseEvent(QMouseEvent*event)   override;
    void paintEvent(QPaintEvent *event) override;

private:
    Ui::HelpWidget *ui;
    QPoint curPos;
    bool isPressed;
};

#endif // HELPWIDGET_H
